<?php

// we check if the date is correct
if(checkdate($_POST['mm'], $_POST['dd'], $_POST['yyyy'])) {
	echo 'true';
} else echo 'false';

?>